<style type="text/css">
#content .details {
    width: 75%;
    margin: 15px auto;
    border: 1px solid #A9A9A9;
}

#content .details tr {
    background-color: #F2F2F2;
}

#content .details td {
    border: none;
    padding: 12px 5px;
}

#content .details td:nth-child(1) {
    text-align: right;
    width: 20%;
    min-width: 100px;
    font-size: 16px;
}

#content .members td {
    text-align: left;
    width: 25%;
}

#content .members td:nth-child(1) {
    text-align: center;
    width: 10%;
}

#content .members td:nth-child(4) {
    text-align: center;
    width: 10%;
}
</style>


<div id="content">
    <?php if ($event): ?>
        <h2><?=ucwords($event['event_name']);?></h2>
        <table class="details">
            <tr><th colspan="2">Event Information</th></tr>
            <tr><td>Event Name:</td><td><?=$event['event_name']; ?></td></tr>
            <tr><td>Group Name:</td><td><?=$event['event_group']; ?></td></tr>
            <tr><td>Description:</td><td><?=$event['event_description']; ?></td></tr>
            <tr><td>Location:</td><td><?=$event['location_name']; ?></td></tr>
            <tr><td>Address:</td><td><?=$event['address1'] . ' ' . $event['address2'] . ' ' . $event['address3']
             . ' ' .  $event['city'] . ' ' .  $event['state'] . ' ' .  $event['zip']; ?></td></tr>
            <tr><td>Date:</td><td><?=$event['start_date'] . '-' . $event['end_date']; ?></td></tr>
            <tr><td>Time:</td><td><?=$event['start_time'] . '-' . $event['end_time']; ?></td></tr>
            <tr><td>Event Type:</td><td><?=$event['event_type']; ?></td></tr>
            <tr><td>Event Cost:</td><td><?=$event['event_cost']; ?></td></tr>
        </table>
    <?php endif; ?>

    <br /><br />

<!--
    <?php // if (isset($checkedin)): ?>
        <table class="members">
            <tr><th colspan="4">Checked In Members Members</th></tr>
            <tr><th>Rank</th><th>Member Name</th><th>Role</td><th>Score</th></tr>
            <?php foreach ($members as $rank => $member): ?>
                <tr>
                    <td><?=$rank + 1;?></td>
                    <td><?=$member['first_name'] . ' ' . $member['last_name'];?></td>
                    <td><?=$member['group_role'];?></td>
                    <td><?=$member['user_score'];?></td>
                </tr>
            <?php endforeach; ?>
        </table>
    <?php // endif; ?>
-->
</div> <!-- #content -->